/*
 * Dot.h
 *
 *  Created on: Jan 1, 2014
 *      Author: nick
 */

#ifndef DOT_H_
#define DOT_H_

#include "SDL/SDL.h"

#include "Globals.h"
#include "Sprite.h"

//The dot
class Dot: public Sprite
{
    private:

    int jumping;

    int jumpHeight;

    int wallGrab;

    public:
    //Initializes the variables
    Dot();

    ~Dot();

    //Takes key presses and adjusts the dot's velocity
    void handleInput();

    void jump();

    void move(Sprite * tiles[]);

    //Sets the camera over the dot
    void set_camera();
};


#endif /* DOT_H_ */
